function out = resVH(in,a,b,convType)
% reservoir conversion
% Tobias Siegfried, 13.04.2007

switch convType
    case 'vh'
        out = a.*in.^b;
    case 'hv'
        out = (V./a).^(1/b);
end